/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import com.shanhesoft.java.common.core.vo.DataDto;

import java.util.Date;

/**
 * 答题信息Dto 答题信息
 * @author admin
 * @version 2020-10-12 23:59:25
 */
@Data @ToString @NoArgsConstructor @AllArgsConstructor
public class AnswerDto extends DataDto<String> {

	private static final long serialVersionUID = 1L;
	/** F_EXAMRECORDID exam_record_id  :  考试记录id */
	public static final String F_EXAMRECORDID = "examRecordId";
	/** F_PAPERNUM paper_num  :  题目编号 */
	public static final String F_PAPERNUM = "paperNum";
	/** F_QUEID que_id  :  题目ID */
	public static final String F_QUEID = "queId";
	/** F_QUETYPE que_type  :  题目类型 */
	public static final String F_QUETYPE = "queType";
	/** F_ANSWER answer  :  答案 */
	public static final String F_ANSWER = "answer";
	/** F_ANSWERTYPE answer_type  :  答题类型 */
	public static final String F_ANSWERTYPE = "answerType";
	/** F_SCORE score  :  实际得分 */
	public static final String F_SCORE = "score";
	/** F_MARKSTATUS mark_status  :  批改状态 */
	public static final String F_MARKSTATUS = "markStatus";
	/** F_STARTTIME start_time  :  开始时间 */
	public static final String F_STARTTIME = "startTime";
	/** F_ENDTIME end_time  :  结束时间 */
	public static final String F_ENDTIME = "endTime";


	/** examRecordId 考试记录id */
 @NotBlank @Size(max=50)
	private String examRecordId;

 	/** 编号 */
 	private int paperNum;

	/** queId 题目ID */
 @NotBlank @Size(max=50)
	private String queId;
	/** queType 题目类型 */

	private Long queType;
	/** answer 答案 */
 @Size(max=2000)
	private String answer;
	/** answerType 答题类型 */
 @NotBlank @Size(max=1)
	private String answerType;
	/** score 实际得分 */

	private Integer score;
	/** markStatus 批改状态 */
 @Size(max=1)
	private String markStatus;
	/** startTime 开始时间 */

	private Date startTime;
	/** endTime 结束时间 */

	private Date endTime;

	/**
	 * 耗时
	 */
	private String duration;

	private String userId;

	/**
	 * 用户名
	 */
	private String userName;

	private String nickName;

	/**
	 * 题目详情
	 */
	private SubjectDto subject;


}
